package threadLearn.future;


public class Client {

	
	public static void main(String[] args) throws InterruptedException {
		
		Long start = System.currentTimeMillis();
		
		RiceThread rt = new RiceThread();
		rt.start();
		rt.join();
		
		DishThread dt = new DishThread();
		dt.start();
		dt.join();
		
		System.out.println("耗时："+(System.currentTimeMillis()-start));
	}
}
